window.listenResult = new Vue({
    el: '#listenResult',
    data() {
        return{
            showAnswer:false,
            resultData:'',//
            resultid:'',//
            content_id:'',//
        }
    },
    created() {
        this.getData();
    },
    mounted() {

    },
    methods: {
        //获取数据
        getData(){
            let that = this;
            $.get('/cn/exercise/get-listen-result',{
                resultid:$('#resultid').val(),
                content_id:$('#content_id').val(),
            },function (res) {
                res.time = Math.ceil(res.time/60);
                that.resultData = res;
                that.resultid = $('#resultid').val();
                that.content_id = $('#content_id').val();
            },'json')
        },

    }
});